import request from '@/utils/request'

export function exportOrderCommission(params) {
  return request({
    url: '/api/export-distribution-statistics',
    method: 'get',
    responseType: 'blob',
    params
  })
}

export function exportDistPerformance(params) {
  return request({
    url: '/distributior/exportDistributiorStatistics',
    method: 'get',
    responseType: 'blob',
    params
  })
}

export function exportCommodityCommossion(params) {
  return request({
    url: '/distributior/exportCommodityCommossionList',
    method: 'get',
    responseType: 'blob',
    params
  })
}

export function exportCommossionStatistics(params) {
  return request({
    url: '/distributior/exportCommodityCommossionStatistics',
    method: 'get',
    responseType: 'blob',
    params
  })
}

export function exportIncomeDetails(params) {
  return request({
    url: '/distributior/exportAccountedDetailList',
    method: 'get',
    responseType: 'blob',
    params
  })
}

export function exportDistributor(params) {
  return request({
    url: '/distributior/exportDistributiorList',
    method: 'get',
    responseType: 'blob',
    params
  })
}

export function exportOrder(params) {
  return request({
    url: '/report/export-order-list',
    method: 'get',
    responseType: 'blob',
    params
  })
}
export function exportUser(params) {
  return request({
    url: '/report/export-user-list',
    method: 'get',
    responseType: 'blob',
    params
  })
}

